package com.zzedu.framework.web.domain;

import com.zzedu.common.enums.LoginType;
import com.zzedu.common.enums.PlatformLoginEnumns;
import com.zzedu.common.enums.UserTypeEnumns;

import java.io.Serializable;

/**
 * 登录参数
 */
public class LoginForm implements Serializable {

    /**
     * 登录账号
     */
    private String username;
    /**
     * 登录密码
     */
    private String password;
    /**
     * 账号类型 1-平台 2-会员
     */
    private UserTypeEnumns userTypeEnumns;
    /**
     * 登录平台
     */
    private PlatformLoginEnumns platformLoginEnumns;

    /**
     * 和密码验证器相关 # 可和UserTypeEnumns 组合使用
     */
    private LoginType loginType;
    /**
     * 验证码
     */
    private String verifyCode;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public UserTypeEnumns getUserTypeEnumns() {
        return userTypeEnumns;
    }

    public void setUserTypeEnumns(UserTypeEnumns userTypeEnumns) {
        this.userTypeEnumns = userTypeEnumns;
    }

    public PlatformLoginEnumns getPlatformLoginEnumns() {
        return platformLoginEnumns;
    }

    public void setPlatformLoginEnumns(PlatformLoginEnumns platformLoginEnumns) {
        this.platformLoginEnumns = platformLoginEnumns;
    }

    public LoginType getLoginType() {
        return loginType;
    }

    public void setLoginType(LoginType loginType) {
        this.loginType = loginType;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
    }
}
